<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import {useMainStore} from '@/store/index';
import {shop_search} from '@/utils/api';
const userinfo = useMainStore()
onLaunch( async() => {
  // console.log("App Launch");
  let data = await shop_search()
  userinfo.getlist(data.data)


}); 
onShow(() => {
  // console.log("App Show");
});
onHide(() => {
  // console.log("App Hide");
});
</script>d
